//
//  MKBrowseCartoonViewController.h
//  ManKeCartoon
//
//  Created by 邹功梁 on 15/10/15.
//  Copyright © 2015年 ManKe. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MKBaseHeader.h"
#import "MKChaptersModel.h"
#import "MKComicModel.h"
#import "MKImageInfosModel.h"

//#warning 需要传进来一个chapterModel的数组 和 comicModel 及点击对应的chapterModel
//@property (nonatomic, retain) MKComicModel *comicModel;
//@property (nonatomic, retain) MKChaptersModel *chapterModel;
@protocol sendSeq_no <NSObject>

- (void)sendSeq_no:(NSString *)string;

@end
@interface MKBrowseCartoonViewController : MKBaseViewController
@property (nonatomic, assign) id<sendSeq_no>delegate;
// Data
//#warning 需要传进来一个chapterModel的数组 和 comicModel 及点击对应的chapterModel 和seq_no
@property (nonatomic, retain) MKComicModel *comicModel;
@property (nonatomic, retain) MKChaptersModel *chapterModel;
@property (nonatomic, retain) NSMutableDictionary *chapterDic; // 存放对应集数的数组
@property (nonatomic, assign) NSInteger seq_no; // 传过来的对应集数

@property (nonatomic, assign) NSInteger tempSeq_no; // 临时存放对应集数
@property (nonatomic, assign) NSInteger tempArrayCount; // 作为临时存放数组元素个数

@property (nonatomic, assign) NSInteger arrayCount; // 作为显示用ArrayCount
@property (nonatomic, assign) NSInteger tempCount; // 作为临时显示count
@property (nonatomic, assign) CGFloat contentOffSetX; // 判断左滑右滑用
@property (nonatomic, assign) NSInteger seq_noCount; // Label上显示集数

@property (nonatomic, assign) NSInteger rightArrayCount;
@property (nonatomic, assign) NSInteger rightSeq_noCount;

@property (nonatomic, retain) NSMutableArray *chapterModelArray;
@property (nonatomic, retain) NSMutableArray *current_imgArray; // 每集对应的图片数组

// control
@property (nonatomic, strong) UICollectionView *browseCartoonView; //图片浏览器

@property (nonatomic, strong) UIButton *backButton; // Nav返回按钮
@property (nonatomic, strong) UILabel *seq_noLabel; // Nav第%ld话(**/**) Label
@property (nonatomic, strong) UILabel *nameLabel; // Nav漫画名

@property (nonatomic, strong) UIView *bottomBackView; // 底部显示电池电量的状态栏
@property (nonatomic, strong) UIView *batteryLevelView;
@property (nonatomic, strong) UILabel *timeLabel;
@property (nonatomic, strong) UIImageView *batteryImage;

@property (nonatomic, strong) UIView *bottomBackGroundView;
@property (nonatomic, strong) UIButton *screenShotButton; // 截图Button
@property (nonatomic, strong) UIButton *lightLevelButton; // 亮度Button
@property (nonatomic, strong) UIButton *favouriteButton; // 收藏Button


@end
